package ml.kupin.order.service;

import ml.kupin.common.utils.KuPinResult;
import ml.kupin.order.pojo.DetailedOrder;

import java.util.Date;

/**
 * Created by 小柯(Allen Kerr) on 17.5.8 18:49.
 */
public interface OrderService {

    KuPinResult createOrder(DetailedOrder detailedOrder);

    KuPinResult getOrderInfo(String orderId);

    KuPinResult updateStatus(String orderId, int status, int originalStatus, Date createTimeLessThan);

//    KuPinResult updateNotPayOrderStatus();
}
